<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp"%>

<form action="${ctx}/sys/dict/update" method="post">
    <table>
        <tbody>
            <tr>
                <td><label for="id">字段ID</label></td>
                <td><input type="text" id="id" name="id" value="${dict.id}" readonly="readonly" class="easyui-textbox"
                    data-options="validType:'length[0,32]', prompt:'不输入时会自动生成'"/>
                </td>
            </tr>
            <tr>
                <td><label for="field">字段名</label></td>
                <td><input type="text" id="field" name="field" value="${dict.field}" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="fieldDesc">字段描述</label></td>
                <td><input type="text" id="fieldDesc" name="fieldDesc" value="${dict.fieldDesc}" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="value">值</label></td>
                <td><input type="text" id="value" name="value" value="${dict.value}" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="valueDesc">值描述</label></td>
                <td><input type="text" id="valueDesc" name="valueDesc" value="${dict.valueDesc}" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="order">排序号</label></td>
                <td><input type="text" id="order" name="order" value="${dict.order}" class="easyui-textbox"
                    data-options="validType:'number'"/>
                </td>
            </tr>
        </tbody>
    </table>
</form>
